\hypertarget{classaetycoon_1_1_compressed_blob_property}{
\section{aetycoon.CompressedBlobProperty Class Reference}
\label{classaetycoon_1_1_compressed_blob_property}\index{aetycoon::CompressedBlobProperty@{aetycoon::CompressedBlobProperty}}
}


Inheritance diagram for aetycoon.CompressedBlobProperty:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classaetycoon_1_1_compressed_blob_property__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for aetycoon.CompressedBlobProperty:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classaetycoon_1_1_compressed_blob_property__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classaetycoon_1_1_compressed_blob_property_a88f0eec4c28ad9447c821f4592a4bacc}{\_\-\_\-init\_\-\_\-}
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classaetycoon_1_1_compressed_blob_property_a0a338a750e47c8b45819fd05794dab6d}{
{\bfseries data\_\-type} = db.Blob}
\label{classaetycoon_1_1_compressed_blob_property_a0a338a750e47c8b45819fd05794dab6d}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}A byte string that will be stored in a compressed form.

Example usage:

>>> class CompressedBlobModel(db.Model):
...   v = CompressedBlobProperty()

You can create a CompressedBlobProperty and set its value with your raw byte
string (anything of type str).  You can also retrieve the (decompressed) value
by accessing the field.

>>> model = CompressedBlobModel(v='\x041\x9f\x11')
>>> model.v = 'green'
>>> model.v
'green'
>>> model.put() # doctest: +ELLIPSIS
datastore_types.Key.from_path(u'CompressedBlobModel', ...)

>>> model2 = CompressedBlobModel.all().get()
>>> model2.v
'green'

Compressed blobs are not indexed and therefore cannot be filtered on:

>>> CompressedBlobModel.gql("WHERE v = :1", 'green').count()
0
\end{DoxyVerb}
 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classaetycoon_1_1_compressed_blob_property_a88f0eec4c28ad9447c821f4592a4bacc}{
\index{aetycoon::CompressedBlobProperty@{aetycoon::CompressedBlobProperty}!\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}}
\index{\_\-\_\-init\_\-\_\-@{\_\-\_\-init\_\-\_\-}!aetycoon::CompressedBlobProperty@{aetycoon::CompressedBlobProperty}}
\subsubsection[{\_\-\_\-init\_\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def aetycoon.CompressedBlobProperty.\_\-\_\-init\_\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{level = {\ttfamily 6}, }
\item[{}]{args, }
\item[{}]{kwargs}
\end{DoxyParamCaption}
)}}
\label{classaetycoon_1_1_compressed_blob_property_a88f0eec4c28ad9447c821f4592a4bacc}
\begin{DoxyVerb}Constructor.

Args:
level: Controls the level of zlib's compression (between 1 and 9).
\end{DoxyVerb}
 

Reimplemented from \hyperlink{classaetycoon_1_1_compressed_property_a86d2eb9b68c1197dec9092b4b77a9e86}{aetycoon.CompressedProperty}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
aetycoon/\_\-\_\-init\_\-\_\-.py\end{DoxyCompactItemize}
